<div class="row">
  <x-button (click)="dialog()">拖动对话框</x-button>
</div>

<x-dialog title="标题" [(visible)]="visible" draggable>
  <span>天将降大任于是人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身，行拂乱其所为也，所以动心忍性，增益其所不能。</span>
</x-dialog>
